package org.freeocs.commons.collections;

import java.util.HashMap;
import java.util.Map;
/**
 * map管理通用方法
 * @author chirs
 *
 * @param <K>
 * @param <V>
 */
public class MapHelper<K, V> {
	private Map<K, V> map = new HashMap<K, V>();

	public MapHelper<K, V> put(K key, V value) {
		this.map.put(key, value);
		return this;
	}

	public Map<K, V> toMap() {
		return this.map;
	}
}
